package com.example.recyclerview;

import android.annotation.SuppressLint;
import android.view.View;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import java.util.List;

public class ItemAdapts extends BaseQuickAdapter<itemdata, BaseViewHolder> {
    public ItemAdapts(int layoutResId, List<itemdata> data) {
        super(layoutResId, data);
    }
    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, itemdata itemdata) {
        baseViewHolder.setText(R.id.textView2,itemdata.getName());
    }
}
